package com.example.agricultural_big_data.mapper;

import com.example.agricultural_big_data.pojo.Adverse;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName:AdverseMapper
 * Package:com.example.agricultural_big_data.mapper
 * Description:
 *
 * @Data:2022/5/17 1:37
 */
@Mapper
@Repository
public interface AdverseMapper {
    int addAdverse(Adverse adverse);

    List<Adverse> getListByUserId(String userId);
}
